<html>
<body>



<?php

include ("opdClass.php");
$obj = new opdClass();


$opd_case_id =0;
		if (isset($_REQUEST['opd_case_id'])){
			$opd_case_id= $_REQUEST['opd_case_id'];
			}
			$opd_case_name="";
			if(isset($_REQUEST['opd_case_name'])){
			$opd_case_name=$_REQUEST['opd_case_name'];
			}
			$opd_case_category ="";
			if(isset($_REQUEST['opd_case_category'])){
			$opd_case_category=$_REQUEST['opd_case_category'];
			}
		
		if(!$obj ->delete_opd_case ($opd_case_id)){
        echo "Error";   
		}
			else{
			header('Location: getlist.php');			 
			echo  mysql_error($obj -> link);
		exit();
    }
  
 $row = $obj->fetch();

?>


</body>
</html>